<?php

$page->title = "Meet the NRHC Staff";
$page->date = '2012-10-01';

$yaml = new Yaml('data/staff.yml');
$staff = $yaml->get();

?>

<div id="contact-us">

  <h1 class="page-title"><?php echo $page->title() ?></h1>

  <ul id="contacts" class="block-grid two-up mobile-one-up">

    <?php foreach($staff as $member):
      $obj_name = new String($member->name);
    ?>
    <li>
      <?php snippet('staff-chip.php', array(
        'name' => $obj_name->get(),
        'short_name' => $obj_name->replace(' ', ''),
        'title'      => $member->title,
        'img'        => $member->img,
        'email'      => $member->email,
        'twitter'    => isset($member->twitter) ? $member->twitter : FALSE
      )) ?>
    </li>

    <?php endforeach ?>

  </ul><!-- /#contacts -->
  
  <hr>

  <div id="NRHC" itemscope itemtype="http://scheama.org/Organization">
    <figure class="left">
      <img src="http://brand.northrockhill.com/2012/nrhc-logo-300px.png" width="300" height="104" border="0"
      alt="North Rock Hill Church" align="left" itemprop="image">
    </figure>
    <div class="float-left">
      <span itemprop="name">North Rock Hill Church</span>
      <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
        <span itemprop="postOfficeBoxNumber">P.O. Box 2477</span><br>
        <span itemprop="addressLocality">Rock Hill</span>,
        <abbr itemprop="addressRegion" title="South Carolina">SC</abbr>
        <span itemprop="postalCode">29732</span>
      </div>
      <abbr itemprop="telephone" title="+18033276753">(803) 327-6753</abbr>
      <br>
      <a href="mailto:info@northrockhill.com">info@northrockhill.com</a>
    </div>
    <p class="social size4">
      <a href="http://twitter.com/nrhc" itemprop="url" target="_blank" alt="NRHC on Twitter"><i class="foundicon-twitter"></i></a>
      <a href="http://www.facebook.com/northrockhillchurch" itemprop="url" target="_blank" alt="NRHC on Facebook"><i class="foundicon-facebook"></i></a>
      <a href="http://vimeo.com/nrhc" itemprop="url" target="_blank" alt="NRHC on Vimeo"><i class="foundicon-vimeo"></i></a>
    </p>
  </div><!-- /NRHC -->

</div><!-- /contact-us -->

